package com.aaa.ssm.service;

import com.aaa.ssm.pojo.dto.StudentDTO;
import com.aaa.ssm.pojo.dto.StudentVO;
import com.aaa.ssm.pojo.vo.StudentQuery;
import com.aaa.ssm.result.AjaxResult;

import java.util.List;
import java.util.Map;

public interface StudentService {
    Map<String,Object> listAllStudent(StudentQuery query);

    Integer deleteStudent(Integer id);

    int addStudent(StudentDTO studentDTO);

    Integer updateStuByteID(StudentVO studentDTO);

    StudentDTO getStuByteID(Integer id);
}
